package cn.wk.client;

import cn.wk.domain.LoginUser;
import cn.wk.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "AUTH-SERVICE",fallbackFactory = LoginUserFactory.class)
@RequestMapping("/loginUser")
public interface LoginUserClient {
    @PutMapping
    AjaxResult addOrUpdate(LoginUser loginUser);

}
